package veiculo;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Date;

public interface IVeiculo {
	public void adicionar(Veiculo veiculo) throws ClassNotFoundException, SQLException;

	public void editar(Veiculo veiculo)throws ClassNotFoundException, SQLException;

	public void remover(int idVeiculo) throws ClassNotFoundException, SQLException;

	public int existe(int idVeiculo) throws ClassNotFoundException, SQLException;

	public Veiculo pesquisar(int idVeiculo) throws ClassNotFoundException, SQLException;
	
	public ArrayList<Veiculo> listarPorPlaca(String placa) throws ClassNotFoundException, SQLException;
	
	public ArrayList<Veiculo> listar() throws ClassNotFoundException, SQLException;
	
	public ArrayList<Veiculo> listarDisponiveis() throws ClassNotFoundException, SQLException;

	public ArrayList<Veiculo> listar(int idMarca) throws ClassNotFoundException, SQLException;
	
	public ArrayList<Veiculo> listarDisponiveis(int idMarca) throws ClassNotFoundException, SQLException;
	
	public ArrayList<Veiculo> listarPorNomeTipo(String nomeTipo) throws ClassNotFoundException, SQLException;
	
	public ArrayList<Veiculo> listarPorNomeMarca(String nomeMarca) throws ClassNotFoundException, SQLException;
	
	public ArrayList<Veiculo> listarPorNome(String nome)  throws ClassNotFoundException, SQLException;

	public void VeiculoDisponivel(int idVeiculo)  throws ClassNotFoundException, SQLException;

	public void VeiculoIndisponivel(int idVeiculo)  throws ClassNotFoundException, SQLException;

	
	

}